/**
 */
package com.dingpeikeji.quickdeer.core.modules.viewspot.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dingpeikeji.quickdeer.core.common.persistence.Page;
import com.dingpeikeji.quickdeer.core.common.service.CrudService;
import com.dingpeikeji.quickdeer.core.modules.viewspot.dao.SysViewspotDao;
import com.dingpeikeji.quickdeer.core.modules.viewspot.entity.SysViewspot;

/**
 * 景点管理Service
 * @author lh
 * @version 2016-05-31
 */
@Service
@Transactional(readOnly = true)
public class SysViewspotService extends CrudService<SysViewspotDao, SysViewspot> {

	public SysViewspot get(String id) {
		return super.get(id);
	}
	
	public List<SysViewspot> findList(SysViewspot sysViewspot) {
		return super.findList(sysViewspot);
	}
	
	public Page<SysViewspot> findPage(Page<SysViewspot> page, SysViewspot sysViewspot) {
		return super.findPage(page, sysViewspot);
	}
	
	@Transactional(readOnly = false)
	public void save(SysViewspot sysViewspot) {
		super.save(sysViewspot);
	}
	
	@Transactional(readOnly = false)
	public void delete(SysViewspot sysViewspot) {
		super.delete(sysViewspot);
	}
	
}
